<div class="weeks_select">
<script>
function add_report(){
	if($('#project').val()==0){
		alert('请选择项目');
		return false;
	}
	//alert($('#week').val())
	window.location.href='index.php?c=zy_manpower&m=add&project='+$('#project').val()+'&week='+$('#week').val();
}
</script>
<form name="form1" method="get" action="">
<input type="hidden" name="c" value="{%$smarty.get.c%}">
项目：
<select name="project" id="project">
<option label="请选择" value="0">请选择</option>
{%html_options options=$project_arr selected=$smarty.get.project%}
</select>
开始日期：<input type="text" name="textfield" value="{%$ss_week.0%}" size="12" readonly>
结束日期：<input type="text" name="textfield2" value="{%$ss_week.1%}" size="12" readonly> 
第
<select name="week" id="week">
{%foreach from=$this_week item=week_arr%}
<option value="{%$week_arr%}" {%if $week_arr==$smarty.get.week%}selected{%/if%}>{%$week_arr%}</option>
{%/foreach%}
</select> 
周
<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>
<button type="button" class="b-default" hidefocus="true" onclick="add_report()"><span><em>添加</em></span></button>
</form>
</div>
<div class="weeks_title">每周人员动态（Weekly Manpower Statistic）</div>

<div class="jqgrid_wrap">
	<div class="jqgrid_chunk">
		<div class="weeks_title_one">一、工作人员（Duty Staff Lists）</div>
		<table id="list_dsl" class="scroll"></table>
		<div id="pager_dsl" class="scroll" style="text-align: center;"></div>
	</div>
	<div class="clear_week"></div>
	<div class="jqgrid_chunk">
		<div class="weeks_title_one">二、取证状态（Certificate Statistic）</div>
		<table id="list_cs" class="scroll"></table>
		<div id="pager_cs" class="scroll" style="text-align:center;"></div>
	</div>
	<div class="clear_week"></div>	
	<div class="jqgrid_chunk">
		<div class="weeks_title_one">三、休假人员（Duty Off Staff Lists）</div>
		<table id="list_dosl" class="scroll"></table>
		<div id="pager_dosl" class="scroll" style="text-align: center;"></div>
	</div>
	<div class="clear_week"></div>	
</div>